package net.huashitong.ssydt.provider.exam.mapper;


import net.huashitong.ssydt.exam.entity.SsExamTestQuestion;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SsExamTestQuestionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SsExamTestQuestion record);

    int insertSelective(SsExamTestQuestion record);

    SsExamTestQuestion selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SsExamTestQuestion record);

    int updateByPrimaryKey(SsExamTestQuestion record);

    /**
     * 根据记录id取列表
     *
     * @param recordId
     * @return
     */
    List<SsExamTestQuestion> queryByRecordId(Long recordId);
}